import request from '@/utils/request'

// 查询产品基础属性模板列表
export function listBasicattribute(query) {
  return request({
    url: '/system/basicattribute/list',
    method: 'get',
    params: query
  })
}

// 查询产品基础属性模板详细
export function getBasicattribute(basicattributeId) {
  return request({
    url: '/system/basicattribute/' + basicattributeId,
    method: 'get'
  })
}

// 新增产品基础属性模板
export function addBasicattribute(data) {
  return request({
    url: '/system/basicattribute',
    method: 'post',
    data: data
  })
}

// 修改产品基础属性模板
export function updateBasicattribute(data) {
  return request({
    url: '/system/basicattribute',
    method: 'put',
    data: data
  })
}

// 删除产品基础属性模板
export function delBasicattribute(basicattributeId) {
  return request({
    url: '/system/basicattribute/' + basicattributeId,
    method: 'delete'
  })
}
